<template>
  <div>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item v-for="(image, index) in images" :key="index">
        <img :src="image" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
// import { Lazyload } from "vant";

export default {
  data() {
    return {
      images: [
        "https://x.mmcuav.cn/pad/static/images/s1.jpg",
        "https://x.mmcuav.cn/pad/static/images/s2.jpg",
        "https://x.mmcuav.cn/pad/static/images/s3.jpg",
        "https://x.mmcuav.cn/pad/static/images/s4.png",
        "https://x.mmcuav.cn/pad/static/images/s5.png",
      ],
    };
  },
};
</script>

<style lang="scss" scoped>
.my-swipe {
  height: 3.333333rem;
  img {
    height: 3.2rem;
    width: 100%;
  }
}
</style>